<?php

namespace app\admin\model;

class MemmidModel extends BaseModel
{



    public static function countRaningNum($rmap,$ranting=0)
    {
        $count = SportRecord::where($rmap)->where('rating',$ranting)->group('memberId')->count('*');
        return $count;
    }
}